#include <stdio.h>
#include <stdlib.h>

int main(int argc, char **argv){
	
#if 0
	char *data = (char *)malloc(sizeof(char) * 100);
	data[100] = 0;
	free(data);
#endif

#if 0

	int *data = (int *)malloc(sizeof(int) * 100);
	free(data);
	printf("data[24] = %d\n", data[24]);

#endif

	int *data = (int *)malloc(sizeof(int) * 100);
	free(data + 4);

	return 0;
}
